package model;

import java.io.Serializable;
import java.sql.Date;
import java.sql.Time;

public class Call implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public static final String OUTGOING = "Outgoing";
	public static final String INCOMING = "Incoming";
	public static final String MISSED = "Missed";
	public static final String FAILED = "Failed";

	String imei, contactid, calltype;
	int duration;
	Date date, datetime;
	Time time;
	int week;

	public int getWeek() {
		return week;
	}

	public void setWeek(int week) {
		this.week = week;
	}

	public String getImei() {
		return imei;
	}

	public void setImei(String imei) {
		this.imei = imei;
	}

	public Date getDatetime() {
		return datetime;
	}

	public void setDatetime(Date datetime) {
		this.datetime = datetime;
	}

	public String getContactid() {
		return contactid;
	}

	public void setContactid(String contactid) {
		this.contactid = contactid;
	}

	public String getCalltype() {
		return calltype;
	}

	public void setCalltype(String calltype) {
		this.calltype = calltype;
	}

	public int getDuration() {
		return duration;
	}

	public void setDuration(int duration) {
		this.duration = duration;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Time getTime() {
		return time;
	}

	public void setTime(Time time) {
		this.time = time;
	}

	public Call(String imei, String contactid, Date date, Time time,
			int duration, String calltype) {
		super();
		this.imei = imei;
		this.contactid = contactid;
		this.date = date;
		this.time = time;
		this.duration = duration;
		this.calltype = calltype;
	}

	public Call() {
		super();
	}

}
